<ion-view style="background: #fff;">
    <ion-pane>
        <ion-side-menus>
            <ion-side-menu-content>
                <ion-header-bar class="index_head">
                    <a menu-toggle="left" class="">
                        <img class="head_por" src="img/commimg/my_icon.png" ng-src="{{$root.shopUserImg|getUserHeadImg}}?x-oss-process=image/resize,w_50" alt="">
                        <i class="circular_wrap" ng-show="$root.isHaveShopnews"> </i>
                    </a>
                    <div class="h1 title"> 金策师</div>



                    <!--ng-if="!ISWEB"-->
                    <a ng-if="!ISWEB" class="button button-clear zhuce_head_btn" ng-click="proshare()">
                        <img src="img/commimg/share_icon.png" alt="" style="width: 26px;height: 28px;margin-top: 3px;">
                    </a>
                </ion-header-bar>
                <ion-content style="background: #fff;margin-bottom: 49px;">
                    <div class="stable-bg">
                        <div class="index_con_head">
                            <div class="index_sum" ui-sref="dataSummary">
                                <p class="index_sum_tit">
                                    <img src="img/commimg/line_l.png" alt="">
                                    <i class="">今日预约金额</i>
                                    <img src="img/commimg/line_r.png" alt="">
                                </p>

                                <h3>{{thisData.nowDateCount/10000  || 0}}万</h3>
                            </div>
                            <ul class="index_sum_list row">
                                <li class="col text-left" ui-sref="dataSummary">
                                    <h3>{{thisData.monthCount/10000 || 0}}万</h3>
                                    <p>本月预约</p>
                                </li>
                                <li class="col text-center" ui-sref="shopDataFlow">
                                    <h3>{{thisData.shopDateView || 0}}人</h3>
                                    <p>今日访客数</p>
                                </li>
                                <li class="col text-right" ui-sref="shopDataFlow">
                                    <h3>{{thisData.shopMonthView || 0}}人</h3>
                                    <p>本月访客</p>
                                </li>
                            </ul>
                        </div>
                        <div class="index_con light-bg">
                            <ul class="row row-wrap Chocolate">
                                <li class="col-33 text-center"  ng-click="count_statis_btnAndPage('110401', 'shopperinfo', phone, null, null)">
                                    <img src="img/commimg/dianpu.png" alt="">
                                    <p>店铺管理</p>
                                </li>
                                <li class="col-33 text-center" ng-click="gotoProduct2()">
                                    <img src="img/commimg/chanpin.png" alt="">
                                    <p>产品管理</p>
                                </li>
                                <li class="col-33 text-center" ng-click="count_statis_btnAndPage('110404', 'blogslist', phone, null, null)">
                                    <img src="img/commimg/dongtai.png" alt="">
                                    <p>动态管理</p>
                                </li>
                                <li class="col-33 text-center" ng-click="count_statis_btnAndPage('110405', 'app.shopsAcList', phone, null, null)">
                                    <img src="img/commimg/huodong.png" alt=""  >
                                    <p>活动管理</p>
                                </li>
                                <li class="col-33 text-center" ng-click="count_statis_btnAndPage('110403', 'shopPreview', phone, null, null)">
                                    <img src="img/commimg/yulan.png" alt="">
                                    <p>店铺预览</p>
                                </li>
                                <li class="col-33 text-center" ng-click="count_statis_btnAndPage('110406', 'app.shopsdimenCode', phone, null,null)">
                                    <img src="img/commimg/erweima.png" alt="">
                                    <p>二维码</p>
                                </li>
                                <li class="col-33 text-center" ng-click="count_statis_btnAndPage('110407', 'kcList', phone, null, '{soldOut:false}')">
                                    <img src="img/commimg/weijiangtan.png" alt="">
                                    <p>微讲坛</p>
                                </li>
                                <li class="col-33 text-center" ui-sref="information">
                                    <img src="img/commimg/informationicon.png" alt="">
                                    <p>资讯</p>
                                </li>
                                <li class="col-33 text-center" ng-if="shopYxtFunction=='1'" ng-click="toMeng()">
                                    <img ng-src="{{$root.baseUrl}}/upload/faUser/shop/yxtac/yxticon.png?x-oss-process=image/resize,w_50" alt="">
                                    <p>群英荟</p>
                                </li>
                                <!--<li class="col-33 text-center" ui-sref="customer">-->
                                    <!--<img src="img/commimg/sucai.png" alt="">-->
                                    <!--<p>问卷调查</p>-->
                                <!--</li>-->
                            </ul>
                        </div>
                    </div>
                    <!--<div style="width: 100%;margin-top: -16px;">-->
                        <!--<a ui-sref="darenxiu">-->
                            <!--<img src="img/commimg/WechatIMG.jpg" alt="" style="width: 100%;">-->
                        <!--</a>-->

                    <!--</div>-->

                </ion-content>

                <!--<ion-tabs class="foot_tab tabs-icon-top">-->
                <!--<ion-tab title="首页" icon-on="home_x" icon-off="home_w"></ion-tab>-->
                <!--<ion-tab title="客户" icon-on="ion-ios-clock" icon-off="ion-ios-clock-outline"></ion-tab>-->
                <!--<ion-tab title="消息" icon-on="ion-ios-gear" icon-off="ion-ios-gear-outline"></ion-tab>-->
                <!--<ion-tab title="数据" icon-on="ion-ios-gear" icon-off="ion-ios-gear-outline"></ion-tab>-->
                <!--<ion-tab title="订单" icon-on="ion-ios-gear" icon-off="ion-ios-gear-outline"></ion-tab>-->
                <!--</ion-tabs>-->
                <div class="tabs tabs-icon-top foot_tab" style="margin-bottom: env(safe-area-inset-bottom);margin-bottom: constant(safe-area-inset-bottom);">
                    <a class="tab-item active"  ng-class="{true:'active',false:''}[isActive1]">
                          <span class="icon">
                                 <img src="img/commimg/home_x.png" alt="">
                                <!--<img src="img/commimg/home_w.png" alt="" ng-show="!isActive1">-->
                          </span>
                                    店铺
                    </a>
                    <a class="tab-item"  ng-click="count_statis_btnAndPage('110701', 'visitorList', $root.shopUserPhone, null,null)" ng-class="{true:'active',false:''}[isActive2]">
                                  <span class="icon">
                                     <img src="img/commimg/cus_w.png" alt="" >
                                      <i ng-if="$root.isCusvisit"></i>
                                  </span>
                        客户
                    </a>

                    <a class="tab-item" ng-click="count_statis_btnAndPage('110702', 'shopChatList', $root.shopUserPhone, null,null)" ng-if="ISWEB">
                      <span class="icon" >
                           <img src="img/commimg/mews_w.png" alt="">
                        <i ng-if="$root.isNewsCome"></i>
                      </span>
                        消息
                    </a>
                    <a class="tab-item"  ng-click="$root.goShophomeNews()" ng-if="!ISWEB">
                      <span class="icon" >
                           <img src="img/commimg/mews_w.png" alt="">
                        <i ng-if="$root.isNewsCome"></i>
                      </span>
                        消息
                    </a>
                    <!--<a class="tab-item" ng-click="count_statis_btnAndPage('110703', 'shopDataFlow', $root.shopUserPhone, null,null)">-->
                      <!--<span class="icon">-->
                         <!--<img src="img/commimg/data_w.png" alt="" >-->
                          <!--&lt;!&ndash;<img src="img/data_x.png" alt="">&ndash;&gt;-->
                      <!--</span>-->
                        <!--数据-->
                    <!--</a>-->
                    <a class="tab-item" ui-sref="dataSummary">
                      <span class="icon">
                         <img src="img/commimg/data_w.png" alt="" >
                          <!--<img src="img/data_x.png" alt="">-->
                      </span>
                        数据
                    </a>
                    <a class="tab-item" ng-click="count_statis_btnAndPage('110704', 'app.order', $root.shopUserPhone, null,null)">
                      <span class="icon">
                        <img src="img/commimg/reco_w.png" alt="">
                          <!--<img src="img/reco_x.png" alt="">-->
                      </span>
                                订单
                    </a>
                </div>
                <div style="position: fixed;bottom: 0; height:env(safe-area-inset-bottom);height:constant(safe-area-inset-bottom); background: #f9f9f9; width: 100%;z-index: 2"></div>
            </ion-side-menu-content>

            <!--我的-->
            <ion-side-menu side="left" width="250">
                <div class="light-bg my_con_wrap">
                    <div class="my_port_wrap">
                        <div class="my_port"  ui-sref="shopperinfo">
                            <img src="img/commimg/touxiang.jpg" ng-src="{{$root.shopUserImg|getUserHeadImg}}?x-oss-process=image/resize,w_50" alt="" >
                        </div>
                        <p class="my_port_name">
                            {{$root.shopUserName}}
                        </p>
                        <p class="my_port_phone">
                            {{$root.shopUserPhone}}
                        </p>
                    </div>

                    <ul class="my_con">
                        <!--<li ui-sref="myBankList({goid:1})">-->
                            <!--<img src="img/commimg/zh_icon.png" alt="">-->
                            <!--<span>提现账户</span>-->
                        <!--</li>-->
                        <li  ng-click="goInform()">
                            <img src="img/commimg/news_icon.png" alt="">
                            <span>消息通知
                                 <i  ng-show="$root.isHaveShopnews"></i>
                            </span>

                        </li>
                        <!--<li>-->
                            <!--<img src="img/commimg/bd_icon.png" alt="">-->
                            <!--<span>在线报单</span>-->
                        <!--</li>-->

                        <!--<li >-->

                            <!--<a ng-click="toggLeft()" href="javascript:void(0)" style="display: block;width: 100%;height: 100%;">-->
                                <!--<img src="img/commimg/kf_icon.png" alt="">-->
                                <!--<span>客服中心</span>-->
                            <!--</a>-->
                        <!--</li>-->
                        <li >
                            <a ui-sref="HelpLink" href="javascript:void(0)" style="display: block;width: 100%;height: 100%;">
                                <img src="img/commimg/kf_icon.png" alt="">
                                <span>帮助与反馈</span>
                            </a>
                        </li>

                        <li >
                            <a ui-sref="Bootpage" href="javascript:void(0)" style="display: block;width: 100%;height: 100%;">
                                <img src="img/commimg/guide.png" alt="">
                                <span>使用指南</span>
                            </a>
                        </li>
                        <!--<li>-->
                            <!--<img src="img/commimg/gy_icon.png" alt="">-->
                            <!--<span>关于我们</span>-->
                        <!--</li>-->
                    </ul>

                </div>

                <div class="my_foot">

                    <i class="">
                        v2.1.0
                    </i>
                    <span class="fr" ng-click="userLoginout()">
                   <img src="img/commimg/tc_icon.png" alt="">
                    退出登录
                </span>


                </div>
            </ion-side-menu>

        </ion-side-menus>
        <!--审核弹窗-->
        <div class="popup_wrap" ng-if="$root.curUserRole=='1'||$root.curUserRole=='98'||$root.curUserRole=='99'">
            <div class="popup_main ">
                <div class="text-center popup_por">
                    <img ng-click="userLoginout()" src="img/commimg/logo.png"  alt="">
                </div>
                <div class="popup_text">
                    <p ng-if="$root.curUserRole=='1'">
                        金策师客户端仅供理财师使用，您可以申请认证成为金策师的理财顾问
                    </p>
                    <p ng-if="$root.curUserRole=='98'">
                        我们已收到您的认证申请，将在1个工作日内完成审核，请耐心等待，审核通过后敬请使用
                    </p>
                    <p ng-if="$root.curUserRole=='99'">
                        您之前提交的认证申请没有通过审批，您可以重新提交认证资料
                    </p>
                </div>
                <button class="button popup_btn" ng-click="$root.modal.userAuth();" ng-if="$root.curUserRole=='1'||$root.curUserRole=='99'">
                    申请认证
                </button>
                <p class="text-center popup_phone">客服热线：021-31038770</p>
            </div>
        </div>

        <!--活动弹窗-->
        <div class="act_pup_wrap" ng-if="$root.pupclos && $root.shopYxtAd=='1' && $root.isshowac" >
            <div class="act_pup_main" ng-click="toM()">
                <img ng-src="{{$root.baseUrl}}/upload/faUser/shop/yxtac/yxtac.png?x-oss-process=image/resize,w_200" alt="">
                <!--<span class="act_pup_text">-->
                   <!--发出你的理财师武林大会邀请函助你成为 <br>-->
                    <!--理财师武林盟主-->
                <!--</span>-->
                <span class="act_off" ng-click="pupclose()">
                    <img src="img/commimg/act_off1.png" alt="">
                </span>
            </div>
        </div>
    </ion-pane>
</ion-view>
    
   
